package co.yixiang.hw.service.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @author Walert
* @date 2020-03-10
*/
@Data
@ApiModel(value = "优惠券发布接口API返回实体")
public class YxStoreCouponIssueDto implements Serializable {

    private Integer id;

    private String cname;

    /** 优惠券ID */
    @ApiModelProperty(value = "优惠券ID")
    private Integer cid;

    /** 优惠券领取开启时间 */
    @ApiModelProperty(value = "优惠券领取开启时间")
    private Integer startTime;

    /** 优惠券领取结束时间 */
    @ApiModelProperty(value = "优惠券领取结束时间")
    private Integer endTime;

    /** 优惠券领取数量 */
    @ApiModelProperty(value = "优惠券领取数量")
    private Integer totalCount;

    /** 优惠券剩余领取数量 */
    @ApiModelProperty(value = "优惠券剩余领取数量")
    private Integer remainCount;

    /** 是否无限张数 */
    @ApiModelProperty(value = "是否无限张数")
    private Integer isPermanent;

    /** 1 正常 0 未开启 -1 已无效 */
    @ApiModelProperty(value = "1 正常 0 未开启 -1 已无效")
    private Integer status;

    private Integer isDel;

    /** 优惠券添加时间 */
    @ApiModelProperty(value = "优惠券添加时间")
    private Integer addTime;

    private Timestamp endTimeDate;

    private Timestamp startTimeDate;
}